{% extends "base.html" %}

{% block content %}		
<script type="text/javascript"> 
			
			$(document).ready( function() {
				
				$('#fileTreeDemo_1').fileTree({ root: '{{dir}}', script: '{{ MEDIA_URL }}/jqueryFileTree.py' }, function(file) { 
					alert(file);
				});
					
			});
		</script> 

		<div class="example"> 
			<h2>Default options</h2> 
			<div id="fileTreeDemo_1" class="demo"></div> 
		</div> 	

{% endblock content %}